From: Glenn Morris Date: Fri, 24 Aug 2007 02:58:12 +0000 (+0000) Subject: Check for a suitably recent makeinfo. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~16992 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7c3a13efcdba175a12c66d2ea0b4236dc86d5fd1;p=emacs.git Check for a suitably recent makeinfo. --- diff --git a/configure.in b/configure.in index fbf0b440b1b..fe23864c0a9 100644 --- a/configure.in +++ b/configure.in @@ -1343,6 +1343,21 @@ AC_PATH_PROG(INSTALL_INFO, install-info,:, /sbin) dnl Don't use GZIP, which is used by gzip for additional parameters. AC_PATH_PROG(GZIP_PROG, gzip) + +## Need makeinfo >= 4.8 (?) to build the manuals. +AC_PATH_PROG(MAKEINFO, makeinfo, no) +dnl By this stage, configure has already checked for egrep and set EGREP, +dnl or exited with an error if no egrep was found. +if test "$MAKEINFO" != "no" && \ + test x"`$MAKEINFO --version 2> /dev/null | $EGREP 'texinfo[[^0-9]]*([[5-9]]|4\.[[8-9]])'`" = x; then + MAKEINFO=no +fi + +if test "$MAKEINFO" = "no"; then + AC_MSG_ERROR( [makeinfo >= 4.8 is required] ) +fi + + dnl Add our options to ac_link now, after it is set up. if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x